package com.yonyou.sto.modules.ims.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 
 * </p>
 *
 * @author aegon
 * @since 2020-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ims_buyer")
@ApiModel(value="ImsBuyer对象", description="")
public class ImsBuyer implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "购买方编号")
    private String buyerSn;

    @ApiModelProperty(value = "购买方名称")
    private String buyerName;

    @NotEmpty
    @ApiModelProperty(value = "购买方纳税人识别号", required = true)
    private String buyerTaxSn;

    @ApiModelProperty(value = "购买方电话")
    private String buyerPhone;

    @ApiModelProperty(value = "购买方地址")
    private String buyerAddress;

    @ApiModelProperty(value = "购买方银行账号")
    private String buyerBankAccount;

    @ApiModelProperty(value = "购买方银行开户行")
    private String buyerBankAddress;

    @ApiModelProperty(value = "购买方邮箱")
    private String buyerEmail;

    @ApiModelProperty(value = "提交时间")
    private Date createTime;

    @ApiModelProperty(value = "状态")
    private Integer status;

    private Integer sort;


}
